*, *:before, *:after {
    box-sizing: border-box;
}

html {
    overflow-y: scroll;
}

body {
    background: #eef3fa;
    font-family: 'Titillium Web', sans-serif;
}

a {
    text-decoration: none;
    color: #4cb6bf;
    -webkit-transition: .5s ease;
    transition: .5s ease;
}

a:hover {
    color: #4cb6bf;
}

.form {
    background: #fff;
    padding: 40px;
    max-width: 600px;
    margin: 40px auto;
    border-radius: 4px;
    box-shadow: 0 4px 10px 4px rgba(19, 35, 47, 0.3);
}

.tab-group {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.tab-group:after {
    content: "";
    display: table;
    clear: both;
}

.tab-group li a {
    display: block;
    text-decoration: none;
    padding: 15px;
    background: #eef3fa;
    color: #4cb6bf;
    font-size: 20px;
    float: left;
    width: 50%;
    text-align: center;
    cursor: pointer;
    -webkit-transition: .5s ease;
    transition: .5s ease;
}

.tab-group li a:hover {
    background: #4cb6bf;
    color: #ffffff;
}

.tab-group .active a {
    background: #4cb6bf;
    color: #ffffff;
}

.tab-content > div:last-child {
    display: none;
}

h1 {
    text-align: center;
    color: #4cb6bf;
    font-weight: 300;
    margin: 0 0 40px;
}

label {
    position: absolute;
    -webkit-transform: translateY(6px);
    transform: translateY(6px);
    left: 13px;
    color: #8abcbf;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    -webkit-backface-visibility: hidden;
    pointer-events: none;
    font-size: 14px;
    top: 10px;
}

label .req {
    margin: 2px;
    color: #4cb6bf;
}

label.active {
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
    left: 2px;
    font-size: 14px;
}

label.active .req {
    opacity: 0;
}

label.highlight {
    color: #4cb6bf;
}

input, textarea {
    font-size: 14px;
    display: block;
    width: 100%;
    height: 50px;
    padding: 5px 10px;
    background: none;
    background-image: none;
    border: 1px solid #4cb6bf;
    font-weight: normal;
    color: #565656;
    border-radius: 0;
    -webkit-transition: border-color .25s ease, box-shadow .25s ease;
    transition: border-color .25s ease, box-shadow .25s ease;
}

input:focus, textarea:focus {
    outline: 0;
    border-color: #4cb6bf;
}

textarea {
    border: 2px solid #a0b3b0;
    resize: vertical;
}

.field-wrap {
    position: relative;
    margin-bottom: 40px;
}

.top-row:after {
    content: "";
    display: table;
    clear: both;
}

.top-row > div {
    float: left;
    width: 48%;
    margin-right: 4%;
}

.top-row > div:last-child {
    margin: 0;
}

.button {
    border: 0;
    outline: none;
    border-radius: 0;
    padding: 11px 0;
    font-size: 2rem;
    font-weight: 600;
    /* text-transform: uppercase;*/
    letter-spacing: .1em;
    background: #4cb6bf;
    color: #ffffff;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    -webkit-appearance: none;
    cursor: pointer;
}

.button:hover, .button:focus {
    background: #4cb6bf;
}

.button-block {
    display: block;
    width: 100%;
}

.forgot {
    margin-top: -20px;
    text-align: right;
}

#login-form {
    position: absolute;
    top: 120px;
    left: 50%;
    margin-left: -280px;
    width: 560px;
    display: none;
}

#login-form #login-close {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;

    border: #676a6c solid 1px;
    font-size: 30px;
    border-radius: 5px;
    cursor: pointer;
    line-height: 13px;
    text-align: center;
}

body .message-box-success, .message-box-fail {
    border-radius: 8px;
}

/*layer样式*/
body .message-box-fail .layui-layer-content {
    background-color: #fdf6ec;
    border: 2px solid #faecd8;
    border-radius: 8px;

    font-size: 16px;
    color: #f39b12;

}

body .message-box-success {
    width: 225px;
    min-width: 225px;
}

body .message-box-success .layui-layer-content {
    background-color: #ecfdf2;
    border: 2px solid #d8fade;
    border-radius: 8px;

    font-size: 16px;
    color: #00ba9b;

    width: 225px;

}

.login-i{
    position: absolute;
    top: -220px;
    right: 10px;
    font-size: 40px;
}

.login-i>span{
    cursor: pointer;
}

.username-label{
    padding-left: 25px;
    font-size: 20px;
}

